package weiyao.xinxidasai.service;

import weiyao.xinxidasai.DTO.FileTreeNode;
import weiyao.xinxidasai.DTO.FolderDetailDTO;
import weiyao.xinxidasai.DTO.Result;
import weiyao.xinxidasai.pojo.FilesFolder;

import java.util.List;

public interface FolderService {
     Result createFolder(String Path);
    Result deleteFolder(Long folderId);
    void updateFolderPath(Long folderId, String newPath);
    FilesFolder getFolderById(Long folderId);
    List<FilesFolder> getFoldersByUser();
    List<FilesFolder> getPathbyuserid(Long userId);
    List<FileTreeNode> searchFolderTreesByKeyword(Long userId, String keyword, boolean includeFiles);
}
